package com.hz.service;

import com.hz.pojo.UserWithdrawDeposit;
import com.hz.pojo.WithdrawDeposit;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserWithdrawDepositService {
    /**
     * 查询所有提现记录
     * @param state     提现状态
     * @return
     * @throws Exception
     */
    public abstract List<UserWithdrawDeposit> getUserWithdrawDeposit(Integer pages, Integer pageSize,Integer state, String user_name)throws Exception;


    /**
     * 更改用户的提现状态
     * @param withdrawDeposit    需要更改的信息
     * @return
     * @throws Exception
     */
    public abstract int updUserWithdrawDeposit(WithdrawDeposit withdrawDeposit)throws Exception;

}
